/****************************************************************************************/
/*  disassembler.c: source code for translating encoded binary to a decoded structure   */
/****************************************************************************************/

/*Edited version as of 2/7/2012*/

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

#include "DecodedStructs.h"

void disassembler(ILIST *l)
{
	IENTRY *e;
	e=l->First;
	while(e)
	{
		INSTU u;
		u.instruction= e->instruction;

		e->DeInstruction=CreateDeInst();
		
		setOpcode(u, e->DeInstruction);
		setRegisters(u, e->DeInstruction);
		e=e->Next;

	}
	return;
}

